#include "Test.h"

////Date::Date()
////{
////	_year = 1900;
////	_month = 1;
////	_day = 1;
////}
//
//Date::Date(int year, int month, int day)
//{
//	_year = year;
//	_month = month;
//	_day = day;
//}
//
////Date::Date(int year, int month, int day)
////{
////	_year = year;
////	_month = month;
////	_day = day;
////}
//
//void Date::Print()
//{
//	cout << _year << "/" << _month << "/" << _day << endl;
//}

//Stack::Stack(int n)
//{
//	int* tmp = (STDataType*)malloc(sizeof(STDataType) * n);
//	if (nullptr == tmp)
//	{
//		perror("malloc fail");
//		return;
//	}
//
//	_a = tmp;
//	_capacity = n;
//	_top = 0;
//}
//
//Stack::~Stack()
//{
//	cout << "~Stack()" << endl;
//
//	free(_a);
//	_a = nullptr;
//
//	_top = _capacity = 0;
//}
//
////MyQueue::~MyQueue()
////{
////	cout << "~MyQueue()" << endl;
////}